package com.study.spmongodb.wwj.thread2.char17;

/**
 * @author study
 * @version 1.0
 * @date 2020/12/9 15:32
 */
public class Client {

    public static void main(String[] args) {
        final Channel channel = new Channel(5);
        //传送带
        channel.startWorker();

        new TransportThread("Alex", channel).start();
        new TransportThread("Jack", channel).start();
        new TransportThread("Willam", channel).start();


    }
}
